Socket
Socket
Sign inDemoInstall

@sendgrid/helpers

Package Overview
Dependencies
2
Maintainers
4
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sendgrid/helpers


Version published
Maintainers
4
Install size
251 kB
Created

Readme

Source

BuildStatus npm version Email Notifications Badge

This package is part of a monorepo, please see this README for details.

Support classes and helpers for the SendGrid NodeJS libraries

This is a collection of classes and helpers used internally by the SendGrid NodeJS libraries.

Note that not all objects represented in the SendGrid API have helper classes assigned to them because it is not expected that developers will use these classes themselves. They are primarily for internal use and developers are expected to use the publicly exposed API in the various endpoint services.

To be notified when this package is updated, please subscribe to email notifications for releases and breaking changes.

Mail class

Used to compose a Mail object that converts itself to proper JSON for use with the SendGrid v3 API. This class supports a slightly different API to make sending emails easier in many cases by not having to deal with personalization arrays, instead offering a more straightforward interface for composing emails.

Attachment class

Used by the inbound mail parser to compose Attachment objects.

Personalization class

Used by the Mail class to compose Personalization objects.

Email address

Helper class to represent an email address with name/email. Used by both the Mail and Personalization classes to deal with email addresses of various formats.

Helpers

Internal helpers that mostly speak for themselves.

How to Contribute

We encourage contribution to our libraries (you might even score some nifty swag), please see our CONTRIBUTING guide for details.

About

@sendgrid/helpers are guided and supported by the Twilio SendGrid Developer Experience Team.

@sendgrid/helpers are maintained and funded by Twilio SendGrid, Inc. The names and logos for @sendgrid/helpers are trademarks of Twilio SendGrid, Inc.

Twilio SendGrid Logo

FAQs

Last updated on 18 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc